package com.mc.lab.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 种子化验 对象 lab_assay_germplasm
 *
 * @author mc
 * @date 2021-03-17
 */
public class LabAssayGermplasm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 化验编号 */
    @Excel(name = "化验编号")
    private String testId;

    /** 采集编号 */
    @Excel(name = "采集编号")
    private String cltId;

    /** 发芽率 */
    @Excel(name = "发芽率")
    private BigDecimal germinationRate;

    /** 生活力 */
    @Excel(name = "生活力")
    private BigDecimal lifeForce;

    /** 重量 */
    @Excel(name = "重量")
    private BigDecimal weight;

    /** 水分 */
    @Excel(name = "水分")
    private BigDecimal wet;

    /** 净度 */
    @Excel(name = "净度")
    private BigDecimal clarity;

    /** 其他种子数 */
    @Excel(name = "其他种子数")
    private BigDecimal otherSeed;

    /** 健康 */
    @Excel(name = "健康")
    private String health;

    /** 饱满度 */
    @Excel(name = "饱满度")
    private String plumpness;

    /** 是否在鉴定期 */
    @Excel(name = "是否在鉴定期")
    private String isIdentificationPeriod;

    /** 化验结果 */
    @Excel(name = "化验结果")
    private String assayResult;

    /** 检测者 */
    @Excel(name = "检测者")
    private String testingNo;

    /** 检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date testingDate;

    /** 校验者 */
    @Excel(name = "校验者")
    private String checkNo;

    /** 校核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "校核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDate;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserId;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateUserId;

    public void setTestId(String testId)
    {
        this.testId = testId;
    }

    public String getTestId()
    {
        return testId;
    }
    public void setCltId(String cltId)
    {
        this.cltId = cltId;
    }

    public String getCltId()
    {
        return cltId;
    }
    public void setGerminationRate(BigDecimal germinationRate)
    {
        this.germinationRate = germinationRate;
    }

    public BigDecimal getGerminationRate()
    {
        return germinationRate;
    }
    public void setLifeForce(BigDecimal lifeForce)
    {
        this.lifeForce = lifeForce;
    }

    public BigDecimal getLifeForce()
    {
        return lifeForce;
    }
    public void setWeight(BigDecimal weight)
    {
        this.weight = weight;
    }

    public BigDecimal getWeight()
    {
        return weight;
    }
    public void setWet(BigDecimal wet)
    {
        this.wet = wet;
    }

    public BigDecimal getWet()
    {
        return wet;
    }
    public void setClarity(BigDecimal clarity)
    {
        this.clarity = clarity;
    }

    public BigDecimal getClarity()
    {
        return clarity;
    }
    public void setOtherSeed(BigDecimal otherSeed)
    {
        this.otherSeed = otherSeed;
    }

    public BigDecimal getOtherSeed()
    {
        return otherSeed;
    }
    public void setHealth(String health)
    {
        this.health = health;
    }

    public String getHealth()
    {
        return health;
    }
    public void setPlumpness(String plumpness)
    {
        this.plumpness = plumpness;
    }

    public String getPlumpness()
    {
        return plumpness;
    }
    public void setIsIdentificationPeriod(String isIdentificationPeriod)
    {
        this.isIdentificationPeriod = isIdentificationPeriod;
    }

    public String getIsIdentificationPeriod()
    {
        return isIdentificationPeriod;
    }
    public void setAssayResult(String assayResult)
    {
        this.assayResult = assayResult;
    }

    public String getAssayResult()
    {
        return assayResult;
    }
    public void setTestingNo(String testingNo)
    {
        this.testingNo = testingNo;
    }

    public String getTestingNo()
    {
        return testingNo;
    }
    public void setTestingDate(Date testingDate)
    {
        this.testingDate = testingDate;
    }

    public Date getTestingDate()
    {
        return testingDate;
    }
    public void setCheckNo(String checkNo)
    {
        this.checkNo = checkNo;
    }

    public String getCheckNo()
    {
        return checkNo;
    }
    public void setCheckDate(Date checkDate)
    {
        this.checkDate = checkDate;
    }

    public Date getCheckDate()
    {
        return checkDate;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }
    public void setUpdateUserId(String updateUserId)
    {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserId()
    {
        return updateUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("testId", getTestId())
                .append("cltId", getCltId())
                .append("germinationRate", getGerminationRate())
                .append("lifeForce", getLifeForce())
                .append("weight", getWeight())
                .append("wet", getWet())
                .append("clarity", getClarity())
                .append("otherSeed", getOtherSeed())
                .append("health", getHealth())
                .append("plumpness", getPlumpness())
                .append("isIdentificationPeriod", getIsIdentificationPeriod())
                .append("assayResult", getAssayResult())
                .append("testingNo", getTestingNo())
                .append("testingDate", getTestingDate())
                .append("checkNo", getCheckNo())
                .append("checkDate", getCheckDate())
                .append("createDate", getCreateDate())
                .append("createTime", getCreateTime())
                .append("createUserId", getCreateUserId())
                .append("updateTime", getUpdateTime())
                .append("updateUserId", getUpdateUserId())
                .toString();
    }
}